{#include file="header.html"#}

<div class="wrapper">
	<div class="mainbox">
		<div class="mainbox-left">
			<div class="topsite" style="margin-bottom: 10px; margin-right: 10px;">
				<h2>入站排行榜 TOP10</h2>
				<ul class="toplist">
					{#foreach from=get_websites(0, 10, false, false, false, 'instat') item=instat name=instat_website#}
					<li><span>{#$smarty.foreach.instat_website.iteration#}.</span><a href="{#$instat.web_link#}" title="{#$instat.web_name#}">{#$instat.web_name#}</a> - <em><a href="{#$instat.full_url#}" target="_blank" onclick="clickout({#$instat.web_id#})">{#$instat.web_url#}</a></em></li>
					{#/foreach#}
				</ul>
			</div>
			<div class="topsite" style="margin-bottom: 10px;">
				<h2>出站排行榜 TOP10</h2>
				<ul class="toplist">
					{#foreach from=get_websites(0, 10, false, false, false, 'outstat') item=outstat name=outstat_website#}
					<li><span>{#$smarty.foreach.outstat_website.iteration#}.</span><a href="{#$outstat.web_link#}" title="{#$outstat.web_name#}">{#$outstat.web_name#}</a> - <em><a href="{#$outstat.full_url#}" target="_blank" onclick="clickout({#$outstat.web_id#})">{#$outstat.web_url#}</a></em></li>
					{#/foreach#}
				</ul>
			</div>
			<div class="topsite" style="margin-right: 10px;">
				<h2>最新收录 TOP10</h2>
				<ul class="toplist">
					{#foreach from=get_websites(0, 10, false, false, false, 'ctime') item=new name=new_website#}
					<li><span>{#$smarty.foreach.new_website.iteration#}.</span><a href="{#$new.web_link#}" title="{#$new.web_name#}">{#$new.web_name#}</a> - <em><a href="{#$new.full_url#}" target="_blank" onclick="clickout({#$new.web_id#})">{#$new.web_url#}</a></em></li>
					{#/foreach#}
				</ul>
			</div>
			<div class="topsite">
				<h2>热门浏览 TOP10</h2>
				<ul class="toplist">
					{#foreach from=get_websites(0, 10, false, false, false, 'views') item=hot name=hot_website#}
					<li><span>{#$smarty.foreach.hot_website.iteration#}.</span><a href="{#$hot.web_link#}" title="{#$hot.web_name#}">{#$hot.web_name#}</a> - <em><a href="{#$hot.full_url#}" target="_blank" onclick="clickout({#$hot.web_id#})">{#$hot.web_url#}</a></em></li>
					{#/foreach#}
				</ul>
			</div>
		</div>
		<div class="mainbox-right">
			<div>{#get_adver('ad_250x250')#}</div>
			<div class="blank10"></div>
			<div>{#get_adver('google_250x250')#}</div>
		</div>
	</div>
</div>

{#include file="footer.html"#}